container_name='spring-boot-examples'
docker_image='spring-boot-examples'
docker_net='bridge'

if [ "$docker_net" = "host" ]; then
  docker run -d --name=$container_name --net=host $docker_image 
else
  docker run -d --name=$container_name -p 8080:8080 -p 8180:8180 $docker_image 
fi
